ApplicationCacheDomain

class ApplicationCacheDomain : Domain

ApplicationCacheDomain represents ApplicationCache protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Functions

applicationCacheStatusUpdated
Link copied to clipboard
fun applicationCacheStatusUpdated(): Flowable<ApplicationCacheStatusUpdatedEvent>
Returns observable capturing all ApplicationCache.applicationCacheStatusUpdated events.
description
Link copied to clipboard
fun description(): String
Returns domain description.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables application cache domain notifications.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getApplicationCacheForFrame
Link copied to clipboard
Returns relevant application cache data for the document in given frame.
getDependencies
Link copied to clipboard
open override fun getDependencies(): List<Domain>
Returns list of dependant domains that should be enabled prior to enabling this domain.
getFramesWithManifests
Link copied to clipboard
fun getFramesWithManifests(): Single<GetFramesWithManifestsResponse>
Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.
getManifestForFrame
Link copied to clipboard
fun getManifestForFrame(input: GetManifestForFrameRequest): Single<GetManifestForFrameResponse>
Returns manifest URL for document in the given frame.
name
Link copied to clipboard
fun name(): String
Returns domain name.
networkStateUpdated
Link copied to clipboard
fun networkStateUpdated(): Flowable<NetworkStateUpdatedEvent>
Returns observable capturing all ApplicationCache.networkStateUpdated events.

Sources

jvm source
Link copied to clipboard